//
//  TwoBlockBoxStyle1View.m
//  Menu
//
//  Created by trimad on 11-11-19.
//  Copyright 2011 Trimad Group. All rights reserved.
//

#import "OneBlockBoxStyle1View.h"
#import "LayoutItemView.h"

@implementation OneBlockBoxStyle1View


- (id)initWithFrameAndItems:(CGRect)frame items:(NSArray *) items {
	self = [super initWithFrameAndItems:frame items:items];
	
    if (self) {
		LayoutItemView *layoutItemView;
		
		layoutItemView = [[[NSBundle mainBundle] loadNibNamed:@"OneBlockBoxItemView" owner:self options:nil] 
							objectAtIndex:0];
		layoutItemView.frame = CGRectMake(10, 10, 660, 700);
		[layoutItemView activate:[items objectAtIndex:0]];
		[self addSubview: layoutItemView];
	
	}
	return self;
}


@end
